
import sortedr as sr

def calc(s):
    return sr.sortedr(s.r.ravel().tolist())
    
def comp(sr1, sr2, cutoff = 0.1):
    return sr.eq(sr1, sr2, cutoff)

